﻿package Cain.googleMap.marker 
{
	import com.google.maps.LatLng;
	import com.google.maps.overlays.Marker;
	import com.google.maps.overlays.MarkerOptions;
	/**
	 * 地圖標記
	 * @author Cain
	 */
	public class GoogleMarker extends Marker
	{
		
		public function GoogleMarker(_xx:Number,_yy:Number,_label:String=null) 
		{
			super(new LatLng(_xx, _yy));
			if (_label!=null) 
			{
				var markerOptions:MarkerOptions = new MarkerOptions();
				markerOptions.label = _label;
				this.setOptions(markerOptions);
			}
		}
	}

}